import Http from '@/common/js/http'
const isMock = false
/**
 * 在线历史会话
 * @return {*} Promise
 */
export function agentServiceList(params) {
  return Http.post('/cloudcall-business-api/agentService/list', params, { mock: isMock })
}
/**
 * 在线历史会话-查看详情
 * @return {*} Promise
 */
export function agentServiceListDetail(params) {
  return Http.post('/cloudcall-business-api/agentService/list/detail', params, { mock: isMock })
}
/**
 * 在线满意度评价
 * @return {*} Promise
 */
export function evaluateList(params) {
  return Http.post('/cloudcall-business-api/agentService/evaluate/list', params, { mock: isMock })
}
/**
 * 查询所有坐席
 * @return {*} Promise
 */
export function agentListAll(params) {
  return Http.get('/cloudcall-business-api/agent/listAll', params, { mock: isMock })
}
/**
 * 当前会话
 * @return {*} Promise
 */
export function inserviceList(params) {
  return Http.post('/cloudcall-business-api/agentUser/inservice/list', params, { mock: isMock })
}
/**
 * 留言列表
 * @return {*} Promise
 */
export function leaveMessageList(params) {
  return Http.post('/cloudcall-media-api/leaveMessage/list', params, { mock: isMock })
}
/**
 * 处理留言
 * @return {*} Promise
 */
export function leaveMessageProcess(params) {
  return Http.post('/cloudcall-media-api/leaveMessage/process', params, { mock: isMock })
}

